package com.campus.mapper;

import com.campus.common.PageResult;
import com.campus.domain.Dto.ActivityCreateDto;
import com.campus.domain.Dto.ActivitySelectDto;
import com.campus.domain.Dto.ActivityUpdateDto;
import com.campus.domain.Vo.ActivityPageVo;
import io.swagger.models.auth.In;

import java.util.List;

public interface ActivityMapper {

    Integer addActivity(ActivityCreateDto activityCreateDto);

    Integer updateActivity(ActivityUpdateDto activityUpdateDto);

    Integer updateStatus(Integer status,Integer id);

    List<ActivityPageVo> page(ActivitySelectDto activitySelectDto, Integer pageNum, Integer pageSize);

    Integer pageCount(ActivitySelectDto activitySelectDto);
}
